/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
<<<<<<< HEAD
 * @author: swx  Date: 2019-03-20
 */

import {Action} from "../../../../configuration/ActionCreator"
import {requestChangeSweepOrderStatus,requestRetrieveWHSKAlinusers} from "../../../../request/RepairOrderOperationRequest"

/**
 * 获取数据
 * @str {string}
 */
export const CancelSweepOrder = 'CancelSweepOrder';
export const cancelSweepOrder = (str) => {
    let action = Action(CancelSweepOrder);
    return dispatch => dispatch(requestChangeSweepOrderStatus(action, str))
}


export const RetrieveWHSKAlinusers = 'RetrieveWHSKAlinusers';
export const retrieveWHSKAlinusers = (str) => {
    let action = Action(RetrieveWHSKAlinusers);
    return dispatch => dispatch(requestRetrieveWHSKAlinusers(action, str))
}


